﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.ZBDLRY
{
    [Table("tb_User_Relation")]
    public class tb_User_Relation_Zbdlry
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public Guid Gid { get; set; }
        public Guid UserGuid { get; set; }
        public Int32? AppId { get; set; }
        public Int32? ClassId { get; set; }
        public String AreaCode { get; set; }
        public String EntityName { get; set; }
        public Byte? EntityFlag { get; set; }
        public Guid? EntityGuid { get; set; }
        public Int32? EntityID { get; set; }
        public String Reason { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? CreateTime { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? UpdateTime { get; set; }
        public String Remark { get; set; }
        public Boolean? IsDel { get; set; }
    }
}
